home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / Development / TinyGL / ami / lang / cc / include / ad709 / tinygl / igl.h < prev   
C/C++ Source or Header  |  2002-08-14  |  468b  |  24 lines

  1. #ifndef _igl_H
  2. #define _igl_H
  3.  
  4. #include <elate/ave/ave.h>
  5. #include <ad709/tinygl/gl.h>
  6.  
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10.  
  11. typedef void* IGLContext;
  12.  
  13. IGLContext iglCreateContext();
  14. void iglDestroyContext(IGLContext ctx);
  15. void iglMakeCurrent(ave_win_t *drawable, IGLContext ctx);
  16. void iglResizeContext(IGLContext ctx, int width, int height, ave_win_t *drawable);
  17. ave_pix_t *iglGetPixmap(IGLContext ctx);
  18.  
  19. #ifdef __cplusplus
  20. }
  21. #endif
  22.  
  23. #endif
  24.